package com.ithiema.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ithiema.reggie.dto.DishDto;
import com.ithiema.reggie.pojo.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    //新增菜品及口味
    public void saveWithFlavor(DishDto dishDto);
    //根据id查询
    public DishDto getByIdWithFlavor(Long id);
    //修改
    public void updateWithFlavor(DishDto dishDto);
    //删除
    public void removeWithFlavors(List<Long> ids);



}
